<!-- base.html -->  
$def with (page)  
<html>  
    <head>  
        <title>My Blog</title>  
        <style>  
            #menu {  
                width: 200px;  
                float: right;  
            }  
        </style>  
    </head>  
      
    <body>  
        <ul id="menu">  
            <li><a href="/">Home</a></li>  
            $if cookie().get('username'):  
                <li><a href="/new">New Post</a></li>  
        </ul>  
          
        $:page  
    </body>  
</html>  
  
